home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Expert
/
Windows Expert.iso
/
desktop
/
bouncer.zip
/
ABSTRACT
next >
Wrap
Text File
|
1992-05-01
|
1KB
|
30 lines
BOUNCER: Screen Saver that Bounces Bitmaps Across the
Screen with Sound Effects
BOUNCER is a sample screen-saver application that bounces a
bitmap across the screen and produces a sound when the
bitmap image is at the bottom of the screen. BOUNCER
demonstrates loading a device-independent bitmap (DIB)
image, creating a timer to move the image, moving the image
across the screen, and reading initial settings from
WIN.INI.
BOUNCER handles the following command-line switches for
debugging the screen-saver application:
> /c, -c, or c: Display configuration dialog box and
return.
> /s, -s, or s: Start screen saver.
> Default: Display configuration dialog box and return.
When BOUNCER starts, it displays a dialog box with default
values for the time interval, initial x position, initial y
position, initial x velocity, gravity, bouncing sound, and
pause at the bottom of the screen. The user can modify
these options.
BOUNCER was built and tested under Microsoft(R) Windows(TM)
version 3.1.